/**
 * Created by chen on 18/5/22.
 */
function go_shopping_list(){
  window.location.href = "shopping_list"
}
window.onload = function(){
  $.ajax({
    type: 'GET',
    url: "/allCartList",
    success: function(data){
      var allCartList = data;
      getCartNum(allCartList);
    }
  });
};